package com.cmc.cloud.cmclink.doc.rpcservice.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

/**
 * @author 周贤
 * @date 2025/3/28
 */
@Schema(description = "客商冗余字段")
@Data
@ToString(callSuper = true)
public class AgentNameBaseVo {

    @Schema(description = "客商企业名称-当地")
    @ExcelIgnore
    private String companyNameLocal;

    @Schema(description = "客商企业英文名称")
    @ExcelProperty(value = "companyNameEn", order = 7)
    @ColumnWidth(50)
    private String companyNameEn;

    @Schema(description = "订舱人代码")
    @ExcelProperty(value = "agentCode", order = 6)
    @ColumnWidth(50)
    private String agentCode;

    public AgentNameBaseVo() {
    }

    public AgentNameBaseVo(String companyNameLocal, String companyNameEn, String agentCode) {
        this.companyNameLocal = companyNameLocal;
        this.companyNameEn = companyNameEn;
        this.agentCode = agentCode;
    }
}
